<?php
namespace app\admin\controller;

class Quit{
    public function quit_list(){
        session('admin_mail','');
        $mail = session('admin_mail') ?? '';
        if(empty($mail)){
            echo '<a href="index.php?s=admin/admin/admin_list">退出登录成功</a>';
        }
        else{
            echo '<a href="index.php?s=admin/article/article_list">退出登录失败</a>';
        }
    }
}